﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Orcamento.aspx.cs" MasterPageFile="~/Funcionario/Funcionario.Master" Inherits="Ortodoctor.Funcionario.Orcamento" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="head">
    <title>Ortodoctor - Cadastro de Orçamento</title>
    <script type="text/javascript" src="Orcamento.js"></script>
</asp:Content>

<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="conteudo">
    <div id="grid"></div>
    <div id="formulario" class="modal hide fade" tabindex="-1" role="dialog" aria-hidden="true">
        <div id="cadastro" class="modal-body">
            <ul class="nav nav-tabs" id="tabCadastro">
                <li><a href="#tabOrcamento">Orçamento</a></li>
            </ul>

            <div class="tab-content">
                <div class="tab-pane" id="tabOrcamento">
                    <table>
                        <tr>
                            <td>
                                <label for="paciente">*Paciente: </label>
                            </td>
                            <td>
                                <select id="selectID">
                                    <option value="volvo">cli</option>
                                    <option value="saab">en</option>
                                    <option value="mercedes">te</option>
                                    <option value="audi">bonito</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label for="usuario">Responsavel: </label>
                            </td>
                            <td>
                                <label id="usuario" runat="server"></label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label for="procedimento">*Procedimento: </label>
                            </td>
                            <td>
                                <select id="procedimento">
                                    <option value="volvo">Volvo</option>
                                    <option value="saab">Saab</option>
                                    <option value="mercedes">Mercedes</option>
                                    <option value="audi">Audi</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label for="duracao">*Dura&ccedil;&atilde;o: </label>
                            </td>
                            <td>
                                <input id="duracao" type="text" onkeydown="soNumeros($(this), 4)" onkeyup="automaticoCalculo()"/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label for="valor_parcela">*Valor Parcela: </label>
                            </td>
                            <td>
                                <input class="real" id="valor_parcela" type="text" onkeydown="soNumerosDecimais($(this), 8)"  onkeyup="automaticoCalculo()"/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label for="valor_total">*Valor Total: </label>
                            </td>
                            <td>
                                <input class="real" id="valor_total" type="text" onkeyup="soNumerosDecimais($(this), 8)"/>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>

            <div class="modal-footer">
                <input type="button" class="btn" onclick="javascript: CancelButton(); return false;" value="Cancelar" />
                <input type="button" class="btn btn-primary" onclick="javascript: ConfirmAddButton(); return false;" value="Salvar alterações" />
            </div>
        </div>
    </div>
    <div id="scripts" runat="server"></div>

</asp:Content>

            
